import request from '@/utils/request'

export function coupons(data) {
  return request({
    url: '/coupon/list',
    method: 'post',
    data
  })
}

export function editCoupon(data) {
  return request({
    url: '/coupon/edit',
    method: 'post',
    data
  })
}
